Latest Questions

Where to find CPANEL object file Path on Localhost and Live server

sorry if my question might sound silly. I am trying to create an email address with Cpanel UAPI with LiveAPI.php but I seem to be lost on some codes. The docume

JSON Database doesn't work correctly as per REST technique

I created a JSON server and this is the data that I'm using. However, when I'm trying to query the examlist and relate it to the students (i'd like to receive t

Bootstrap table with "Filter Control: and server site

I try use bootstrap-table with Filter Control. After I change filter value and load data from ajax my filter value is cleared. <table id="table" data-tog

Why doesn't AWS DMS successfully migrate GMT/BST timestamps from and to RDS PostgreSQL databases?

I'm using AWS DMS 3.4.6 to migrate a PostgreSQL 13.6 database to another PostgreSQL 13.6 database, both in AWS RDS. One particular column in my database is a ti

Go from long to wide using tidyr's pivot_wider

I have a simple long df where every element in the fi column should be a new column in the wide df. So the new df should have 10 columns A:J. The wide df should

SNP_SESSION Table shows value null in ERROR_MESSAGE column

I tried fetching error message from the snp_session table in ODI 12C. I have explicitly inserted erroneous data in order to get an error. But that error is not

'The "path" argument must be of type string. Received null' in electron-json-storage

I'm using eletron-json-storage like this: settings.js: const storage = require('electron-json-storage'); const defaultStoragePath = storage.getDefaultDataP

.NET MAUI Build Error somerandomstuff1084

When I run my MAUI Blazor project without any packages installed, it runs fine. The trouble starts when I try to download EF Core packages (specifically base, t

Is it worth adding zeros to rows of uneven number of columns in a list of lists?

I have a working Haskell example of how to do it when we want to add zeros to the left and to the right of a list as two separate functions, and I did it becaus

Blazor Razor Class Library (RCL) No CSS Intellisense

I have a razor class library (RCL) that contains all the pages from my blazor application. The CSS intellisense does not seem to work within the RCL unless I ch

StorageException has occurred. User is not authenticated

The error is risen when I try to upload to the storage. I've already implemented authentication in my app, and am having no problem with creating a user and aut

How to filter by condition in a pivot tab of excel?

It is a movie dataset in a simple pivot table where the row fields are by the years the movies were released and for columns I have used "box office revenue" as

dataRequested pass variable in XML

Just wondering how do I pass a this or other variables in dataRequested and dataReceived in XML events? Something like the below: <Select items="{ path: '/

How can i do many things to configure data with keras

I am a beginner learning deep learning by Keras. The ImageDataGenerator class in Keras and the flow_from_directory function made it easy to label images. But al

getting error "TypeError: Cannot read properties of null (reading 'useState')" on useState usage react

So I'm trying to use useState in my nextjs app, but as soon as I add in the line of code to initialize useState it throws a popup error with the error message:

SQL Optimization: multiplication of two calculated field generated by window functions

Given two time-series tables tbl1(time, b_value) and tbl2(time, u_value). https://www.db-fiddle.com/f/4qkFJZLkZ3BK2tgN4ycCsj/1 Suppose we want to find the last

Python PIL - Cannot find reference '[' in 'None'

I've been searching answers for this for the past hour and I'm feeling like any already asked question just barely misses my case. I have been tinkering with th

Transition on light/dark mode

I did the code for dark/light mode this way, using Javascript and CSS. but I can't find anywhere a way to add a transition on changing the light/dark modes. CSS

Automatically upgrade a dart package

I have a package on github and it is been used in two of my projects, but every time I make a change to the package I have to run flutter pub upgrade on both pr

MSAL PublicClientApplicationBuilder with AzureAD external user cannot access SharePoint

We have a Windows Application using MSAL with PublicClientApplicationBuilder to access SharePoint with the delegated permissions of the logged on user. When our

Best way to handle 2 websocket connections in the same time

i am handling data from 2 websocket servers and i would like to know whats the fastest way to handle both connections in the same time given that the 1st connec

Can't launch Spyder after installing with pip

Python beginner here. I would like to use Spyder as my Python IDE. Alas the standalone version does not include pip and I want to work with "Vanilla Python" rat

mysql if exists return the record value instead of regular output

I want a select that if/exists it returns the 'link' value instead of regular output. so instead of '1' it returns the 'link' Is that possible? SELECT IF( E

I want to replace letters/words, but I am facing challenges in one aspect of my code

I will be using lloll as an example word. Here's my code: mapping = {'ll':'o','o':'ll'} string = 'lloll' out = ' '.join(mapping.get(s,s) for s in string.split()

Could anyone help me to read 64 bit from console in 32 bit RISC-V

I am new to assembly, but could anyone teach me how to read 64 bit from console in 32 bit RISC-V? .eqv SYS_EXITO, 10 .eqv CON_PRTSTR, 4 .eqv CON_PRT

Mongodb backup using docker-compose

I'm very new to Docker and I'm confused about how to backup the mongodb database. I'm using 2 containers, both connected through a network. the express app cont

XGBoostError: rabit/internal/utils.h:90: Allreduce failed - Error while attempting XGboost on Dask Fargate Cluster in AWS

Overview: I'm trying to run an XGboost model on a bunch of parquet files sitting in S3 using dask by setting up a fargate cluster and connecting it to a Dask cl

I have an error when creating a search and list view for my app

My app is linked to a microsoft server which has tables with employee names that need displayed on the app when searched. I also want whenever a letter is typed

Unable to resolve npm install pre-gyp error

I am trying to install this app locally on my m1 MacBook air > Github - Todoist Clone Running npm install in the terminal is causing the following error, ple